<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      th:replace="fragments/layout(title='评估记录-列表',jsPaths='/static/js/assessment/list.js')">
<div class="right" th:fragment="right">
    <!--面包屑-->
    <div class="breadcrumb layui-bg-gray">
                    <span class="layui-breadcrumb" lay-separator=">">
                        <a th:href="@{/}">首页</a>
                        <a href="">能力评估</a>
                        <a href="">评估记录</a>
                        <a><cite>列表</cite></a>
                    </span>
    </div>

    <!--主体内容区-->
    <div class="page-content">
        <div class="search-box layui-input-inline">
            <form id="search-form" class="layui-form" >
                <div class="layui-form-item">
                    <label class="layui-form-label ">老人姓名</label>
                    <div class="layui-input-inline">
                        <input type="text" name="elderlyName"   placeholder="老人姓名" autocomplete="off" class="layui-input">
                    </div>
                    <label class="layui-form-label ">自理能力</label>
                    <div class="layui-input-inline">
                        <select name="rs" lay-verify="required">
                            <option value=""></option>
                            <option value="1">具备生活自理能力</option>
                            <option value="2">部分丧失生活自理能力</option>
                            <option value="3">完全丧失生活自理能力</option>
                        </select>
                    </div>
                    <button class="layui-btn layui-btn-normal" type="button" id="search">查询</button>
                </div>
            </form>
        </div>
        <table id="demo" lay-filter="test"></table>
    </div>
    <script type="text/html" id="toolbar">
        {{#  if(d.filePath == null){ }}
        <a href="/gbassessRecords/show?arId={{ d.id }}" class="layui-btn layui-btn-warm layui-btn-xs">提交审核</a>
        {{#  } }}
        {{#  if(d.filePath != null){ }}
        <a href="/gbassessRecords/show?arId={{ d.id }}" class="layui-btn  layui-btn-xs">查看</a>
        {{#  } }}
    </script>
</div>
</html>